package com.project.util;

import com.alibaba.fastjson.JSONObject;
import com.framework.core.http.HttpRequest;
import com.framework.core.http.HttpUtil;
import com.framework.core.text.MD5Util;
import com.project.pojo.model.QueryTrackParam;
import com.project.pojo.model.QueryTrackReq;
import lombok.extern.slf4j.Slf4j;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.util.EntityUtils;

import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Description: 快递100帮助类
 * @Author: zhuchi
 * @CreateDate: 2020/12/11 18:15
 * @Version: 1.0
 */
@Slf4j
public class Kuaidi100CodeUtil {

    public static Map<String, String> COMPANY_CODE = new HashMap<>();

    static {
        COMPANY_CODE.put("yuantong", "圆通速递");
        COMPANY_CODE.put("zhongtong", "中通快递");
        COMPANY_CODE.put("shunfeng", "顺丰速运");
        COMPANY_CODE.put("shentong", "申通快递");
        COMPANY_CODE.put("ems", "EMS");
        COMPANY_CODE.put("jtexpress", "极兔速递");
        COMPANY_CODE.put("debangwuliu", "德邦");
        COMPANY_CODE.put("zhongyouex", "众邮快递");
        COMPANY_CODE.put("youshuwuliu", "优速快递");
        COMPANY_CODE.put("suning", "苏宁物流");
        COMPANY_CODE.put("yunda", "韵达快递");
        COMPANY_CODE.put("youzhengguonei", "邮政快递包裹");
        COMPANY_CODE.put("huitongkuaidi", "百世快递");
        COMPANY_CODE.put("jd", "京东物流");
        COMPANY_CODE.put("tiantian", "天天快递");
        COMPANY_CODE.put("youzhengbk", "邮政标准快递");
        COMPANY_CODE.put("debangkuaidi", "德邦快递");
        COMPANY_CODE.put("zhaijisong", "宅急送");
        COMPANY_CODE.put("baishiwuliu", "百世快运");
        COMPANY_CODE.put("yundakuaiyun", "韵达快运");
    }
}
